package com.example.demo.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.example.demo.entity.Soft;

import java.util.List;

/**
 *  服务层。
 *
 * @author zql
 * @since 2023-11-05
 */
public interface SoftService extends IService<Soft> {
    Page<Soft> pageDef(Integer current, Integer size, String softName);

    Page<Soft> queryFuzzy(Integer current, Integer size, String softId,
                                String softName, String softVersion,
                                String gitUrl, String officialUrl, String mainLanguage,
                                String languages, String startTime, String endTime);

    boolean saveOrUpdateByIdsDef(Soft soft);

    boolean deleteBatchIdsDef(List<Integer> ids);
}
